#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface HWTFCursorView : UIView
@property (nonatomic, copy) NSString *code;
@property (nonatomic, weak) UITextField *textField;
- (instancetype)initWithCount:(NSInteger)count margin:(CGFloat)margin;
- (instancetype)initWithCount:(NSInteger)count margin:(CGFloat)margin borderColor:(UIColor *)borderColor;
- (void)becomeFirstResponder;
- (void)cleanTextFiled;
- (instancetype)init UNAVAILABLE_ATTRIBUTE;
+ (instancetype)new UNAVAILABLE_ATTRIBUTE;
@end
@interface HWCursorLabel : UILabel
@property (nonatomic, weak, readonly) UIView *cursorView;
- (void)startAnimating;
- (void)stopAnimating;
@end
NS_ASSUME_NONNULL_END
